package com.moduls.interfaceFunction.excel.export;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 财务管理导出
 * @author pc
 *
 */
public class ManagementBean {

	private String fin_supply_detail_id;
	private String fin_supply_no;
	private String jiesuan_time;
	private String order_time;
	private String order_no;
	private String kehu_company;
	private String deliver_name;
	private String salesman_name;
	private String catalog_parent_name;
	private String catalog_name;
	private String item_name;
	private String val_names;
	private String unit;
	private String actual_num;
	private String customer_price;
	private String money;
	private String diff_type;
	private String customer_note;
	private String cost_price;
	private String sum_cost;
	private String profit;
	private String hexiao_note;
	private String sid;
	private String company;
	private String fuhe_status;
	private String fuhe_time;
	private String fuhe_member_name;
	
	public ManagementBean() {
		
	}
	public ManagementBean(Map<String, Object> map) {
		if (!(map.get("fin_supply_detail_id") == null || map.get("fin_supply_detail_id").equals(""))) {
    		this.fin_supply_detail_id = map.get("fin_supply_detail_id").toString();
		}
    	if (!(map.get("fin_supply_no") == null || map.get("fin_supply_no").equals(""))) {
    		this.fin_supply_no = map.get("fin_supply_no").toString();
		}
    	if (!(map.get("jiesuan_time") == null || map.get("jiesuan_time").equals(""))) {
    		this.jiesuan_time = map.get("jiesuan_time").toString();
		}
    	if (!(map.get("order_time") == null || map.get("order_time").equals(""))) {
    		this.order_time = map.get("order_time").toString();
		}
    	if (!(map.get("order_no") == null || map.get("order_no").equals(""))) {
    		this.order_no = map.get("order_no").toString();
		}
    	if (!(map.get("kehu_company") == null || map.get("kehu_company").equals(""))) {
    		this.kehu_company = map.get("kehu_company").toString();
		}
    	if (!(map.get("deliver_name") == null || map.get("deliver_name").equals(""))) {
    		this.deliver_name = map.get("deliver_name").toString();
		}
    	if (!(map.get("salesman_name") == null || map.get("salesman_name").equals(""))) {
    		this.salesman_name = map.get("salesman_name").toString();
		}
    	if (!(map.get("catalog_parent_name") == null || map.get("catalog_parent_name").equals(""))) {
    		this.catalog_parent_name = map.get("catalog_parent_name").toString();
		}
    	if (!(map.get("catalog_name") == null || map.get("catalog_name").equals(""))) {
    		this.catalog_name = map.get("catalog_name").toString();
		}
    	if (!(map.get("item_name") == null || map.get("item_name").equals(""))) {
    		this.item_name = map.get("item_name").toString();
		}
    	if (!(map.get("val_names") == null || map.get("val_names").equals(""))) {
    		this.val_names = map.get("val_names").toString();
		}
    	if (!(map.get("unit") == null || map.get("unit").equals(""))) {
    		this.unit = map.get("unit").toString();
		}
    	if (!(map.get("actual_num") == null || map.get("actual_num").equals(""))) {
    		this.actual_num = map.get("actual_num").toString();
		}
    	if (!(map.get("customer_price") == null || map.get("customer_price").equals(""))) {
    		this.customer_price = map.get("customer_price").toString();
		}
    	if (!(map.get("money") == null || map.get("money").equals(""))) {
    		this.money = map.get("money").toString();
		}
    	if (!(map.get("diff_type") == null || map.get("diff_type").equals(""))) {
    		this.diff_type = map.get("diff_type").toString();
		}
    	if (!(map.get("cost_price") == null || map.get("cost_price").equals(""))) {
    		this.cost_price = map.get("cost_price").toString();
		}
    	if (!(map.get("sum_cost") == null || map.get("sum_cost").equals(""))) {
    		this.sum_cost = map.get("sum_cost").toString();
		}
    	if (!(map.get("profit") == null || map.get("profit").equals(""))) {
    		this.profit = map.get("profit").toString();
		}
    	if (!(map.get("hexiao_note") == null || map.get("hexiao_note").equals(""))) {
    		this.hexiao_note = map.get("hexiao_note").toString();
		}
    	if (!(map.get("sid") == null || map.get("sid").equals(""))) {
    		this.sid = map.get("sid").toString();
		}
    	if (!(map.get("company") == null || map.get("company").equals(""))) {
    		this.company = map.get("company").toString();
		}
    	if (!(map.get("fuhe_status") == null || map.get("fuhe_status").equals(""))) {
    		this.fuhe_status = map.get("fuhe_status").toString();
		}
    	if (!(map.get("fuhe_time") == null || map.get("fuhe_time").equals(""))) {
    		this.fuhe_time = map.get("fuhe_time").toString();
		}
    	if (!(map.get("fuhe_member_name") == null || map.get("fuhe_member_name").equals(""))) {
    		this.fuhe_member_name = map.get("fuhe_member_name").toString();
		}
	}
	
	public static List<ManagementBean> getBean(List<Map<String, Object>> list) {
		List<ManagementBean> managementBeans = null;
		if (list != null && list.size() > 0) {
			managementBeans = new ArrayList<>();
			for (Map<String, Object> map : list) {
				managementBeans.add(new ManagementBean(map));
			}
		}
		return managementBeans;
	}
	
	public String getFin_supply_detail_id() {
		return fin_supply_detail_id;
	}
	public void setFin_supply_detail_id(String fin_supply_detail_id) {
		this.fin_supply_detail_id = fin_supply_detail_id;
	}
	public String getFin_supply_no() {
		return fin_supply_no;
	}
	public void setFin_supply_no(String fin_supply_no) {
		this.fin_supply_no = fin_supply_no;
	}
	public String getJiesuan_time() {
		return jiesuan_time;
	}
	public void setJiesuan_time(String jiesuan_time) {
		this.jiesuan_time = jiesuan_time;
	}
	public String getOrder_time() {
		return order_time;
	}
	public void setOrder_time(String order_time) {
		this.order_time = order_time;
	}
	public String getOrder_no() {
		return order_no;
	}
	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}
	public String getKehu_company() {
		return kehu_company;
	}
	public void setKehu_company(String kehu_company) {
		this.kehu_company = kehu_company;
	}
	public String getDeliver_name() {
		return deliver_name;
	}
	public void setDeliver_name(String deliver_name) {
		this.deliver_name = deliver_name;
	}
	public String getSalesman_name() {
		return salesman_name;
	}
	public void setSalesman_name(String salesman_name) {
		this.salesman_name = salesman_name;
	}
	public String getCatalog_parent_name() {
		return catalog_parent_name;
	}
	public void setCatalog_parent_name(String catalog_parent_name) {
		this.catalog_parent_name = catalog_parent_name;
	}
	public String getCatalog_name() {
		return catalog_name;
	}
	public void setCatalog_name(String catalog_name) {
		this.catalog_name = catalog_name;
	}
	public String getItem_name() {
		return item_name;
	}
	public void setItem_name(String item_name) {
		this.item_name = item_name;
	}
	public String getVal_names() {
		return val_names;
	}
	public void setVal_names(String val_names) {
		this.val_names = val_names;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getActual_num() {
		return actual_num;
	}
	public void setActual_num(String actual_num) {
		this.actual_num = actual_num;
	}
	public String getCustomer_price() {
		return customer_price;
	}
	public void setCustomer_price(String customer_price) {
		this.customer_price = customer_price;
	}
	public String getMoney() {
		return money;
	}
	public void setMoney(String money) {
		this.money = money;
	}
	public String getDiff_type() {
		return diff_type;
	}
	public void setDiff_type(String diff_type) {
		this.diff_type = diff_type;
	}
	public String getCustomer_note() {
		return customer_note;
	}
	public void setCustomer_note(String customer_note) {
		this.customer_note = customer_note;
	}
	public String getCost_price() {
		return cost_price;
	}
	public void setCost_price(String cost_price) {
		this.cost_price = cost_price;
	}
	public String getSum_cost() {
		return sum_cost;
	}
	public void setSum_cost(String sum_cost) {
		this.sum_cost = sum_cost;
	}
	public String getProfit() {
		return profit;
	}
	public void setProfit(String profit) {
		this.profit = profit;
	}
	public String getHexiao_note() {
		return hexiao_note;
	}
	public void setHexiao_note(String hexiao_note) {
		this.hexiao_note = hexiao_note;
	}
	public String getSid() {
		return sid;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getFuhe_status() {
		return fuhe_status;
	}
	public void setFuhe_status(String fuhe_status) {
		this.fuhe_status = fuhe_status;
	}
	public String getFuhe_time() {
		return fuhe_time;
	}
	public void setFuhe_time(String fuhe_time) {
		this.fuhe_time = fuhe_time;
	}
	public String getFuhe_member_name() {
		return fuhe_member_name;
	}
	public void setFuhe_member_name(String fuhe_member_name) {
		this.fuhe_member_name = fuhe_member_name;
	}
	
	
}
